﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebShopData
{
    class Freight
    {
        public int FreightID { get; set; }
        public string FreightType { get; set; }
        public string FreightName { get; set; }
        public int FreightCost { get; set; }

        public Freight(string freightType, string freightName, int freightCost, int freightID = 0)
        {
            FreightID = freightID;
            FreightType = freightType;
            FreightName = freightName;
            FreightCost = freightCost;
        }

        public override string ToString()
        {
            return string.Format("FreightID:{0} FreightType{1} FreightName{2} FreightCost{3}", FreightID, FreightType, FreightName, FreightCost);
        }
        
    }
}
